L=['a','b','c','d','e','f']
print(L[1:3])
print(L[1:2])
print(L[:2])
print(L[-2])
print(L[-2:])
print(L[0:-1:2])
print(L[::-1])
print('ABCDEFG'[:3])
print('ABCDEFG'[::2])